package com.platform.user.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.util.Date;
import java.io.Serializable;

/**
 * (ChatRoom)实体类
 *
 * @author makejava
 * @since 2025-02-16 15:10:19
 */
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Getter
@Setter
public class ChatRoom implements Serializable {
    private static final long serialVersionUID = -56116080415318074L;

    private Integer id;

    private Integer itemId;

    private Integer itemSort;

    private Integer userId;

    private String roomName;

    private Integer userCount;

    private Integer roomStatus;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

}

